package com.shanghaionstar.retrofit.http.cookie;

import com.onstar.cn.sqlite.xutil.db.annotation.Column;
import com.onstar.cn.sqlite.xutil.db.annotation.Id;
import com.onstar.cn.sqlite.xutil.db.annotation.Table;


/**
 * post請求緩存数据
 * Created by WZG on 2016/10/26.
 */
@Table(name = "t_onstar_cookie_result")
public class CookieResult {
    @Id
    @Column(column = "_id")
    private Long id;
    /*url*/
    @Column(column ="url")
    private String url;
    /*返回结果*/
    @Column(column ="result")
    private String result;
    /*时间*/
    @Column(column ="time")
    private long time;

    public CookieResult(String url, String result, long time) {
        this.url = url;
        this.result = result;
        this.time = time;
    }


    public CookieResult(Long id, String url, String result, long time) {
        this.id = id;
        this.url = url;
        this.result = result;
        this.time = time;
    }


    public CookieResult() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUrl() {
        return this.url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getResult() {
        return this.result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public long getTime() {
        return this.time;
    }

    public void setTime(long time) {
        this.time = time;
    }


}
